const system = {
	namespaced: true,
	state:()=>({
		systemInfo: {}
	}),
	getters:{
		barHeight(state){
			return state.systemInfo.barHeight
		},
		statusBarHeight(state){
			return state.systemInfo.statusBarHeight * 2
		}
	},
	mutations:{
		// 设置系统信息
		setSystemInfo(state,payload){
			console.log(payload);
			state.systemInfo = payload
		}
	},
	actions:{
		
	}
}
export default system